package classes;

public class Flat extends EstateObject {

    private static final double BET_TAX = 0.012; // 1.2%

    public Flat(double cost) {
        super(cost);
    }

    @Override
    public double calculateTax() {
        return cost * BET_TAX;
    }

    @Override
    public double setBetTax() {
        return BET_TAX;
    }
}